package com.alan6.distributed.ratelimit.test;

import com.alan6.distributed.ratelimit.fallback.AlaRateLimitFallback;

/**
 * @author ：Alan6
 * @description：TODO
 * @date ：2021/4/13 18:15
 */
public class RatelimitFallback implements AlaRateLimitFallback {

    @Override
    public Object fallbackResult() {

        return new BaseResult(888, "rate limit error");
    }

}
